package com.arpa.oms.domain.entity;

import com.arpa.wms.domain.entity.Customer;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 客户
 * </p>
 *
 * @author LEO
 * @since 2020-09-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wms_customer")
@ApiModel(value="OmsCustomer对象", description="客户")
public class OmsCustomer extends Customer {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "入驻商")
    @TableField("shipment_code")
    private String shipmentCode;

    @ApiModelProperty(value = "入驻商")
    @TableField("shipment_name")
    private String shipmentName;


    @ApiModelProperty(value = "客户类别")
    @TableField("customer_category")
    private String customerCategory;

    @ApiModelProperty(value = "食安许可证号")
    @TableField("food_safety_license_no")
    private String foodSafetyLicenseNo;

    @ApiModelProperty(value = "业务员")
    @TableField("business_person")
    private String businessPerson;

    @ApiModelProperty(value = "折扣率")
    @TableField("discount_rate")
    private BigDecimal discountRate;

    @ApiModelProperty(value = "授信余额")
    @TableField("credit_balance")
    private BigDecimal creditBalance;

    @ApiModelProperty(value = "账户余额")
    @TableField("account_balance")
    private BigDecimal accountBalance;

}
